package com.aliang.shopping.mapper;

import com.aliang.shopping.model.po.OrdersItem;
import com.aliang.shopping.model.vo.cart.CartShowVO;
import com.aliang.shopping.model.vo.orders.OrdersFrontVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【orders_item(订单列表表)】的数据库操作Mapper
* @createDate 2025-01-04 22:07:38
* @Entity com.aliang.shopping.model.po.OrdersItem
*/
public interface OrdersItemMapper extends BaseMapper<OrdersItem> {

    List<CartShowVO> getOrdersItemInfo(@Param("payNo") Long payNo);

    List<OrdersFrontVO> getOrdersByUseId(@Param("userId") Long userId);
}




